package com.example.demo.Service.Impl;

import com.example.demo.Dao.AdminDao;
import com.example.demo.Entity.AdminEntity;
import com.example.demo.Service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AdminServiceImpl implements AdminService {
    @Resource
    AdminDao adminDao;
    @Override
    public AdminEntity get(String username) {
        return adminDao.get(username);
    }
}
